<?php

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#	FILE:			includes/project.php
#	FUNCTION:		Variables for this project
#	AUTHOR:			Cameron Morrow
#	CREATED:		26/07/2005
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Project Title
$PROJECT_TITLE = "RIO";

# Project Code
$PROJECT_CODE = "ggw";

# Project URL
$PROJECT_URL = "http://www.zone4.com.au/dev/rio/site";

# Email
$PROJECT_EMAIL = "cameron@zone4.com.au";

# If on Zone4
if (strpos($_SERVER["SERVER_NAME"], "www.zone4.com.au") !== false) {

	# Database
	$PROJECT_DB = "vs20043_1";

	# Host
	$PROJECT_DB_HOST = "bne2-0001my.server-sql.com";

	# User
	$PROJECT_DB_USERNAME = "vs20043_1_dbo";

	# Password
	$PROJECT_DB_PASSWORD = "82rC2u8JmURhbygl";

} 
else {
	# Database
	$PROJECT_DB = "json";

	# Host
	$PROJECT_DB_HOST = "localhost";

	# User
	$PROJECT_DB_USERNAME = "root";

	# Password
	$PROJECT_DB_PASSWORD = "";
}

#SQL SERVER Name
$PROJECT_SQL_SERVER_NAME = "DEV01-PC";

$PROJECT_SQL_SERVER_CONNECT_OPTIONS = array("UID"=>"sa", "PWD"=>"Zone4!");


# Tables
$PROJECT_DB_TABLES = array(
	"users" => "isis_users",
	"pages" => "isis_pages",
	"groups" => "isis_groups",
	"newsletters" => "isis_newsletters",
	"newsletter_groups" => "isis_newsletter_groups",
	"newsletter_groupgroup" => "isis_newsletter_groupgroup",
	"table_properties" => "isis_table_properties",
	"logs" => "isis_logs",
	"glossary"=>"isis_glossary",
	"atri" => "isis_xml_atri",
	"tags" => "isis_xml_tags",
	"language" => "isis_language",
	"usergroup" => "isis_usergroup",
	"editgroup" => "isis_editgroup",
	"users_newsletter_group" => "isis_users_newsletter_group",
	"pagepath" => "isis_pagepath",
	"pagegroup" => "isis_pagegroup",
	"pagepath_junk" => "isis_pagepath_junk",
	"pages_junk" => "isis_pages_junk"
);

# Email SMTP Host
$PROJECT_SMTP_HOST = "smtp-au.server-mail.com";

# Include version info
if (file_exists("../includes/version.php")) {
	include "../includes/version.php";
} else if (file_exists("../../includes/version.php")){
	
	include "../../includes/version.php";
}
else{
	include "includes/version.php";
}
# Message to send from admin when email address is changed
#$EMAIL_CHANGE_MESSAGE = "";

?>